'use strict';

module.exports = appInfo => {
    const config = exports = {};

    // 后台接口地址
    config.baseUrl = 'http://pubs.sendinfo.com.cn/manage';
    config.timeout = 100000;

    // Redis 配置信息
    config.redis = {
        client: {
            host: '192.168.200.189',
            password: 'sendinfo',
            port: 6379,
            db: 0
        }
    }

    config.cluster = {
        listen: {
            port: 3001,
            hostname: '0.0.0.0',
            // path: '/var/run/egg.sock',
        }
    }

    return config;
} 